POV-Ray : Newsgroups : moray.win : Material space (local, parent, world) : Re: Material space (local, parent, world) Server Time
29 Jul 2024 02:25:32 EDT (-0400)
  Re: Material space (local, parent, world)  
From: Tony Vigil
Date: 26 Jul 1999 02:05:55
Message: <379BFCE3.335D4C2B@gte.net>
Create a union CSG object adding only the cube.
Then add the texture to the CSG object.  The CSG object is scaled at
<1,1,1>

Paul Johnsson wrote:

> Hello.
>
> I have some troubles when applying a "wood" texture to a object in
> Moray. The object is a simple cube, that is scaled with <10,5,1>.
>
> I have created a very simple wood-texture, and would like to apply this
> texture to the cube, to get a piece of nice wood. This works fine but
> the material is scaled in the same way as the cube <10,5,1> which makes
> it distorted.
>
> I have tried to use the "Space Parent" and this solves the problem with
> the distorted material. But when I translate the cube the material is
> NOT translated if the space is "parent".
>
> Is it possible to "lock" a material posistion to a object, so that the
> material gets translated but NOT scaled...?
>
> I would aprechiate any help on this subject.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.